package com.fh.modules.ss.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import com.fh.common.query.QueryRuleEnum;
import com.fh.common.query.annotation.QueryWrapperRule;

/**
 * @Description: 租赁记录
 * @author： code generator
 * @date：   2019-09-07
 * @version： V1.0
 */
@Data
@TableName("ss_material_lease_record")
public class SsMaterialLeaseRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键ID*/
	@TableId(type = IdType.UUID)
	private java.lang.String id;
	/**物料ID*/
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String materialId;

	@Excel(name = "物料类型名称", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String materialTypeName;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.String name;
	/**单位名称*/
	@Excel(name = "单位名称", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.String unitName;
	/**物料计算单位*/
	@Excel(name = "物料计算单位", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.math.BigDecimal unit;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.math.BigDecimal unitPrice;
	/**发货数量*/
	@Excel(name = "发货数量", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.Integer sendNum;
	/**实收数量*/
	@Excel(name = "实收数量", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.Integer receiveNum;
	/**接收日期*/
	@Excel(name = "接收日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.util.Date receiveDate;
	/**接收地点*/
	@Excel(name = "接收地点", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.String receiveSite;
	/**接收人*/
	@Excel(name = "接收人", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.String receiveUserName;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
	/**删除状态（0，正常，1已删除）*/
	@Excel(name = "删除状态（0，正常，1已删除）", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.lang.Integer delFlag;
}
